import React, { useState } from 'react'
import Father from './components/Father'
import { moneyContext } from './context/index'

export default function LayOut () {
  const [money] = useState(2000000)
  return (
    <div>
      <moneyContext.Provider value={money}>

        <Father></Father>
      </moneyContext.Provider>
    </div>
  )
}
